<script type="application/json" id="selectors">
        [{
            "selector": "p[title^=\"foo\"]",
            "match": ["1"]
        }]
</script>
<div id="testDOM">
    <p  id="1" title="foobar">This paragraph should have a green background<br>because its title attribute begins with &quot;foo&quot;</p>
</div>
